package com.work.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.work.bean.UserBean;
import org.mybatis.spring.SqlSessionFactoryBean;

public interface IUserService extends IService<UserBean> {
   UserBean login(String userName,String userPwd);

   IPage<UserBean> findBuItem(int pageNo,int pageSize);

    void addUser(UserBean userBean);

    void delUser(int userId);

    void updateUser(int userId,String userPwd,String userType);

    IPage<UserBean> findType(int pageNo,int pageSize,String userType);


}
